package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.dto.order.OrderStatisticsDto;
import com.atguigu.spzx.model.entity.order.OrderStatistics;

import java.util.List;

/**
 * @ClassName: OrderStatisticsMapper
 * @Package: com.atguigu.spzx.manager.mapper
 * @Description 订单汇总
 * @Author 孤妤
 * @Date: 2023/12/10 22:20
 */
public interface OrderStatisticsMapper {
    /**
     * @description: 添加到订单汇总表中
     * @param: 查询到的订单总额与数量对象
     **/
    void insert(OrderStatistics orderStatistics);
    // 查询满足条件的订单或者所有订单
    List<OrderStatistics> selectOrderStatisticsData(OrderStatisticsDto orderStatisticsDto);

}
